import Cookies from 'js-cookie'

const TOKEN_KEY = VITE_TOKEN_KEY

export const getToken = () => {
  Cookies.get(TOKEN_KEY)
}

export const setToken = (value: string) => {
  Cookies.set(TOKEN_KEY, value)
}
export const removeToken = () => {
  Cookies.remove(TOKEN_KEY)
}
